Optimal. Leaf size=116 \[ -\frac {(a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{8 a x^8}+\frac {b (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{28 a^2 x^7}-\frac {b^2 (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{168 a^3 x^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {660, 47, 37}
\begin {gather*} -\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^5}{8 a x^8}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^5}{28 a^2 x^7}-\frac {b^2 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^5}{168 a^3 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rule 660
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{x^9} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {\left (a b+b^2 x\right )^5}{x^9} \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=-\frac {(a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{8 a x^8}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {\left (a b+b^2 x\right )^5}{x^8} \, dx}{4 a b^3 \left (a b+b^2 x\right )}\\ &=-\frac {(a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{8 a x^8}+\frac {b (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{28 a^2 x^7}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {\left (a b+b^2 x\right )^5}{x^7} \, dx}{28 a^2 b^2 \left (a b+b^2 x\right )}\\ &=-\frac {(a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{8 a x^8}+\frac {b (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{28 a^2 x^7}-\frac {b^2 (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{168 a^3 x^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 77, normalized size = 0.66 \begin {gather*} -\frac {\sqrt {(a+b x)^2} \left (21 a^5+120 a^4 b x+280 a^3 b^2 x^2+336 a^2 b^3 x^3+210 a b^4 x^4+56 b^5 x^5\right )}{168 x^8 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.47, size = 74, normalized size = 0.64
method | result | size |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (-\frac {1}{3} b^{5} x^{5}-\frac {5}{4} a \,b^{4} x^{4}-2 a^{2} b^{3} x^{3}-\frac {5}{3} a^{3} x^{2} b^{2}-\frac {5}{7} a^{4} b x -\frac {1}{8} a^{5}\right )}{\left (b x +a \right ) x^{8}}\) | \(73\) |
gosper | \(-\frac {\left (56 b^{5} x^{5}+210 a \,b^{4} x^{4}+336 a^{2} b^{3} x^{3}+280 a^{3} x^{2} b^{2}+120 a^{4} b x +21 a^{5}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {5}{2}}}{168 x^{8} \left (b x +a \right )^{5}}\) | \(74\) |
default | \(-\frac {\left (56 b^{5} x^{5}+210 a \,b^{4} x^{4}+336 a^{2} b^{3} x^{3}+280 a^{3} x^{2} b^{2}+120 a^{4} b x +21 a^{5}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {5}{2}}}{168 x^{8} \left (b x +a \right )^{5}}\) | \(74\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 254 vs.
\(2 (77) = 154\).
time = 0.29, size = 254, normalized size = 2.19 \begin {gather*} \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{8}}{6 \, a^{8}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{7}}{6 \, a^{7} x} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} b^{6}}{6 \, a^{8} x^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} b^{5}}{6 \, a^{7} x^{3}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} b^{4}}{6 \, a^{6} x^{4}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} b^{3}}{6 \, a^{5} x^{5}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} b^{2}}{6 \, a^{4} x^{6}} + \frac {9 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} b}{56 \, a^{3} x^{7}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}}}{8 \, a^{2} x^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.09, size = 57, normalized size = 0.49 \begin {gather*} -\frac {56 \, b^{5} x^{5} + 210 \, a b^{4} x^{4} + 336 \, a^{2} b^{3} x^{3} + 280 \, a^{3} b^{2} x^{2} + 120 \, a^{4} b x + 21 \, a^{5}}{168 \, x^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (\left (a + b x\right )^{2}\right )^{\frac {5}{2}}}{x^{9}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.51, size = 108, normalized size = 0.93 \begin {gather*} -\frac {b^{8} \mathrm {sgn}\left (b x + a\right )}{168 \, a^{3}} - \frac {56 \, b^{5} x^{5} \mathrm {sgn}\left (b x + a\right ) + 210 \, a b^{4} x^{4} \mathrm {sgn}\left (b x + a\right ) + 336 \, a^{2} b^{3} x^{3} \mathrm {sgn}\left (b x + a\right ) + 280 \, a^{3} b^{2} x^{2} \mathrm {sgn}\left (b x + a\right ) + 120 \, a^{4} b x \mathrm {sgn}\left (b x + a\right ) + 21 \, a^{5} \mathrm {sgn}\left (b x + a\right )}{168 \, x^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.19, size = 207, normalized size = 1.78 \begin {gather*} -\frac {a^5\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{8\,x^8\,\left (a+b\,x\right )}-\frac {b^5\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{3\,x^3\,\left (a+b\,x\right )}-\frac {2\,a^2\,b^3\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{x^5\,\left (a+b\,x\right )}-\frac {5\,a^3\,b^2\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{3\,x^6\,\left (a+b\,x\right )}-\frac {5\,a\,b^4\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{4\,x^4\,\left (a+b\,x\right )}-\frac {5\,a^4\,b\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{7\,x^7\,\left (a+b\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________